#include <iostream>
#include <string>

// 符合责任链设计原理代码
class context
{
public:
    std::string name;
    int day;
};

class leveRequest
{
public:
    bool HandleRequest(const context &ctx)
    {
        if (ctx.day <= 1)
            HandleByProgram(ctx);
        else if (ctx.day <= 7)
            HandleByMainProgram(ctx);
        else
            HandleByBoss(ctx);
    }

private:
    bool HandleByProgram(const context &ctx) {}
    bool HandleByMainProgram(const context &ctx) {}
    bool HandleByBoss(const context &ctx) {}
};

int main()
{
    return 0;
}